package site.lyun.dao;

import site.lyun.entity.Goods;
import site.lyun.entity.GoodsInf;
import site.lyun.entity.PageBean;
import site.lyun.entity.User;

import java.util.List;

public interface GoodsDao {
    public boolean GoodsUpload(Goods goods);
    public PageBean<Goods> GoodsFind(int page);
    public Goods GoodsShow(int goodsId);
    public boolean GoodsBuy(Goods goods, User user);
    public PageBean<GoodsInf> GoodsTradeInf(int page);
}
